-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
simplify merging logic #16525
simplify merging logic #16525
Conversation
Signed-off-by: Andres Taylor <[email protected]>
Review ChecklistHello reviewers! 👋 Please follow this checklist when reviewing this Pull Request. General
Tests
Documentation
New flags
If a workflow is added or modified:
Backward compatibility
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #16525 +/- ##
==========================================
+ Coverage 68.69% 68.75% +0.05%
==========================================
Files 1547 1556 +9
Lines 198297 199705 +1408
==========================================
+ Hits 136228 137312 +1084
- Misses 62069 62393 +324 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good, one e2e or planning test for the fix would work.
Signed-off-by: Andres Taylor <[email protected]>
Signed-off-by: Andres Taylor <[email protected]>
Signed-off-by: Andres Taylor <[email protected]>
Signed-off-by: Andres Taylor <[email protected]>
Signed-off-by: Andres Taylor <[email protected]>
Signed-off-by: Andres Taylor <[email protected]> Co-authored-by: vitess-bot[bot] <108069721+vitess-bot[bot]@users.noreply.github.com>
Signed-off-by: Andres Taylor <[email protected]> Co-authored-by: vitess-bot[bot] <108069721+vitess-bot[bot]@users.noreply.github.com>
Signed-off-by: Andres Taylor <[email protected]>
Signed-off-by: Andres Taylor <[email protected]> Co-authored-by: Andrés Taylor <[email protected]>
Description
This PR introduces a refined solution to the issue where vtgate stopped accepting cross-keyspace queries. In the original fix, we incorrectly rejected subqueries that weren't merged and failed to properly handle non-correlated subqueries from different keyspaces. This updated approach corrects the handling of these subqueries by planning them differently, ensuring that cross-keyspace functionality is restored in a more accurate and efficient manner.
Related Issues
This PR supersedes the previous fix and addresses the same underlying problem introduced in #12197 and initially addressed in #16515.
Checklist